//
//  YAYINotifyCell.h
//  yayi
//
//  Created by Veer on 16/3/22.
//  Copyright © 2016年 hxp. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YAYISettingItemModel;

typedef void(^YAYISwitchChange)(BOOL isOn);

@interface YAYINotifyCell : UITableViewCell

@property (nonatomic, weak) UISwitch *sw;

@property (nonatomic, strong) YAYISettingItemModel *model;

// switch状态改变调用此block
// 点击cell调用block
@property (nonatomic, copy) YAYISwitchChange switchChangeOperation;


+ (instancetype)cellWith:(UITableView *)tableview;

@end
